<?php

require_once 'index.php';
$id = $_GET['id'];

$sql = "
DELETE FROM `tb_emp` WHERE `e_id` = $id    
";
echo $sql ;
//die;


$result = $dd->query($sql);

if($result===false){
    echo "数据库操作失败";
}else{
   header("location:index_list.php");
}